package com.chuangsi.project.admin.dto.admin.log;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class LogPageQueryRes {
    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "操作人用户名 关联（sys_user nick_name）")
    private String userName;

    @ApiModelProperty(value = "操作模块")
    private String module;

    @ApiModelProperty(value = "操作方法")
    private String methods;

    @ApiModelProperty(value = "操作内容")
    private String content;

    @ApiModelProperty(value = "请求路径")
    private String actionurl;

    @ApiModelProperty(value = "请求IP")
    private String ip;

    @ApiModelProperty(value = "操作状态描述（1:操作成功、2:操作失败）")
    private String commite;

    @ApiModelProperty(value = "返回信息")
    private String msg;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
